package com.stone.design.patterns.iterator;

import java.util.ArrayList;

/**
 * @description 迭代器接口
 * @Time 2018/4/12 9:09
 * Created by Stone on 2018/4/12.
 */

public interface Iterator<T> {

    boolean hasNext();
    T next();
}
